package com.cy;

import java.util.ArrayList;
import java.util.List;

/**
 * @program: Mybatis_study
 * @description: Listlam表达式
 * @author: 张鹏宇
 * @create: 2021-04-19 19:58
 **/
public class ListTest {
    public static void main (String[] args) {
        List s = new ArrayList ();
        s.add (123);
        s.add ("你好");
        s.add ('你');
        s.add (3.14);
        s.add (" ");
        s.add (true);


        s.forEach (System.out :: println);
    }
}
